/*
 * Image2DDD.cpp
 *
 *  Created on: Apr 30, 2010
 *      Author: Soheil Damangir
 */

#include "Image2DDD.h"

namespace Group5 {

int Image2DDD::t11,Image2DDD::t12,Image2DDD::t21,Image2DDD::t22,Image2DDD::bx,Image2DDD::by;
void Image2DDD::Map(const int&x,const int&y,int&x_W,int&y_W)
{
  x_W = Image2DDD::t11*x + Image2DDD::t12*y + Image2DDD::bx;
  y_W = Image2DDD::t21*x + Image2DDD::t22*y + Image2DDD::by;
}
}
